<template>
	<view>
		<uni-steps :options="list1" :active="1"></uni-steps>
		<uni-calendar @change="chang"></uni-calendar>
		<uni-group style="position: fixed;bottom: 0%;right: 0%;left: 0%;z-index: 99;">
			<button type="primary" @click="xia">下一步</button>
		</uni-group>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				time: '2023-03-26',
				list1: [{
						title: '第一步'
					},
					{
						title: '第二步'
					},
					{
						title: '第三步'
					},
					{
						title: '第四步'
					}
				],
			}
		},
		methods: {
			xia() {
				uni.setStorage({
					key: 'time',
					data: this.time,
					success: (res) => {
						uni.navigateTo({
							url: 'ban3'
						})
					}
				})
			},
			chang(e) {
				this.time = e.fulldate
			},
		}
	}
</script>

<style>

</style>
